﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BusinessLayer;
namespace PresentationLayer
{
    public partial class PagarFact : Form
    {
        public PagarFact()
        {
            InitializeComponent();
        }

        private void Pagar_Click(object sender, EventArgs e)
        {
            this.textCodO.SelectAll();
            this.textOfic.SelectAll();
            if (FacturaActions.PagaFactura(this.textCodO.SelectedText, this.textOfic.SelectedText))
                this.Close();
        }
    }
}
